package com.dbt.admin.result;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author Administrator
 * @date 2021/8/2 0002 - 上午 0:02
 */
@Getter
@AllArgsConstructor
@ToString
public enum ResponseEnum {
    SUCCESS(0, "操作成功"),
    ERROR(-1, "操作失败");

    // 响应状态码
    private Integer code;
    // 响应信息
    private String message;
}
